//对象是不可遍历的，不能使用for of,但是可以利用object.keys进行转换
let formData = {
    name: 'zhuhaoran',
    age: 12,
    address: '安徽地址'
}
console.log(Object.keys(formData))   //[ 'name', 'age', 'address' ]
console.log(Object.values(formData))//['zhuhaoran', 12, '安徽地址']

for (let key of Object.keys(formData)) {
    console.log(formData[key])
}
/*
zhuhaoran
12
安徽地址
*/